package com.lc.admin.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class HuaweiAuthDto implements Serializable {
    private Auth auth = new Auth();
}
@Data
class Auth implements Serializable  {
    private Identity identity = new Identity();
    private Scope scope = new Scope();
}


@Data
class Identity{
    private String[] methods={"password"};
    private Password password = new Password();
}

@Data
class Password {
    private UserHuawei user = new UserHuawei();
}

@Data
class UserHuawei {
    private String name="lc";
    private String password="88888888A";
    private Domain domain = new Domain();
}

@Data
class Domain{
    private String name="luochengcs007";
}

@Data
class Scope {
    private Project project = new Project();
}
@Data
class Project {
    private String name="cn-north-4";
}
